package com.Eric.test;

import org.junit.Test;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * @author Eric
 * @Create 2020-09-22  16:23
 * @Version project-workspace-0912
 **/
public class Security {
    @Test
    public void t1()
    {
        BCryptPasswordEncoder encoder = new BCryptPasswordEncoder();
        String admin = encoder.encode("admin");
        System.out.println("admin = " + admin);

    }

}
